﻿using System;
using System.Windows.Forms;

namespace LM.Tela.Desktop
{
    using LM.InterfacesFabricas.Fabricas;
    using LM.InterfacesFabricas.Interfaces.Servicos;

    public partial class frmTeste : Form
    {
        public frmTeste()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var servicoTeste = FabricaGenerica.Crie<IServicoTeste>();

            textBox1.Text = servicoTeste.ObtenhaDataHoraAtual().ToString("dd/MM/yyyy");
        }
    }
}
